﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Store.Models
{
    public class GoodsType : BaseEnity
    {
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int CurrentGrade { get; set; }

        [StringLength(15)]
        public string Name { get; set; }

        public int ParentId { get; set; }

        public List<Goods> Goods { get; set; }
    }
}
